/**
 * 
 */
package org.dragonfire.irc.messages;

/**
 * @author Darth Android
 * @date Oct 27, 2007
 */
public class Userhost {

	private String nick, user, host;

	/**
	 * @param nick
	 * @param user
	 * @param host
	 */
	public Userhost(String nick, String user, String host) {
		super();
		this.nick = nick;
		this.user = user;
		this.host = host;
	}

	/**
	 * @return the nick
	 */
	public String getNick() {
		return nick;
	}

	/**
	 * @return the user
	 */
	public String getUser() {
		return user;
	}

	/**
	 * @return the host
	 */
	public String getHost() {
		return host;
	}

	public String toString() {
		return nick + "!" + user + "@" + host;
	}

}
